#include <gtest/gtest.h>
#include "foo.h"

class Demo : public testing::Test
{
protected:
    static void SetUpTestSuite()
    {
    }
    static void TearDownTestSuite()
    {
    }
    virtual void SetUp() override
    {
    }
    virtual void TearDown() override
    {
    }
};

// 系列名为Demo，当前测试用例名为demo01
TEST_F(Demo, demo01){
    EXPECT_EQ(1, 1);
}

TEST_F(Demo, demo02){
    int ret = foo();
    EXPECT_EQ(ret, 100);
}
